package PlanetDefender;

public class Resource {
	private int resources;
	
	public Resource() {
		this.resources = 0;
	}
	
	public Resource(int value) {
		this.resources = value;
	}
	
	public int get() {
		return resources;
	}
	
	public void reset() {
		this.resources = 0;
	}
	
	public void reset(int value) {
		this.resources = value;
	}
	
	public void increase(int value) {
		this.resources = this.resources + value;
	}
	
	public void decrease(int value) {
		this.resources = this.resources - value;
	}
}
